package cn.dankal.flyaudio.personal

import cn.dankal.basiclib.DKUserManager
import cn.dankal.basiclib.base.activity.BaseActivity
import cn.dankal.basiclib.protocol.LoginProtocol.UNBIND_BIND_PHONE
import cn.dankal.flyaudio.R
import com.alibaba.android.arouter.launcher.ARouter
import kotlinx.android.synthetic.main.activity_show_mobile.*

class ShowMobileActivity : BaseActivity() {
    override fun getLayoutId(): Int {
        return R.layout.activity_show_mobile
    }

    override fun initComponents() {
        addSingleTitleBar("手机号码")
        et_mobile.text= DKUserManager.getUserInfo().phone
        bt_next.setOnClickListener {
            ARouter.getInstance().build(UNBIND_BIND_PHONE).navigation()
        }
    }

}
